inspector: Fix surface transform regression
authorMatthias Clasen <mclasen@redhat.com>
Tue, 9 Mar 2021 22:42:59 +0000 (17:42 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 9 Mar 2021 23:27:04 +0000 (18:27 -0500)
commit55569071941ba4c314bedebeca4a7a5df169e11c
treeb161faa712c4c56dfef80ef5b691b9944b2926f0
parent9d51821e84c280bb504fd3cb62c65630bbfd5714
inspector: Fix surface transform regression

Ever since we added surface-to-widget transforms,
the autofading of the fps overlay did not work anymore,
since it was given the transient transform node, most
of the time.

Fix this by passing both the root of the node tree and
the node for the toplevel widget to prepare_render, and
hande the widget node to the overlays. Update the
affected overlays that need to have their positioning
adjusted.
gtk/gtkwidget.c
gtk/inspector/updatesoverlay.c
gtk/inspector/window.c
gtk/inspector/window.h